package com.by.mapper;

import com.by.bean.EnquiryDetail;
import com.by.common.crud.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EnquiryDetailMapper extends BaseMapper<EnquiryDetail> {
    /**
     * 批量保存
     * @param eid 询价单id
     * @param enquiryDetailList 询价明细
     * @return
     */
    int  batchSave(@Param("eid") int eid, @Param("enquiryDetailList") List<EnquiryDetail> enquiryDetailList);
}
